<?php

namespace App\Services;

use App\Models\AdminMemberLevel;

class AdminMemberLevelService extends BaseService
{
    /**
     * 查询会员等级信息
     * @return array
     */
    public function list(): array
    {
        $result = AdminMemberLevel::query()->get();
        if ($result->count() > 0) {
            return $result->toArray();
        }
        return [];
    }

}
